package com.seezoon.application.device.dto.clientobject;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.Instant;

@Getter
@Setter
@Schema(description = "围栏信息")
public class FenceCO {

    @Schema(description = "围栏ID")
    private Long id;

    @Schema(description = "围栏名称")
    private String fenceName;

    @Schema(description = "设备ID")
    private Long deviceId;

    @Schema(description = "中心纬度")
    private Double centerLatitude;

    @Schema(description = "中心经度")
    private Double centerLongitude;

    @Schema(description = "半径（米）")
    private Integer radius;

    @Schema(description = "状态 1:有效 2:停用")
    private Byte status;

    @Schema(description = "创建时间")
    private Instant createTime;

    @Schema(description = "更新时间")
    private Instant updateTime;
} 